home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / being there / How To & FAQ's / ultrix.FAQ < prev    next >
Text File  |  1994-05-15  |  59KB  |  1,572 lines

  1. Last-modified: 30 November 1992
  2. Summary: This posting contains a list of Frequently Asked Questions
  3.     (and their answers) about the ULTRIX operating system from
  4.     Digital Equipment Corporation.
  5. Archive-name: ultrix-faq
  6. Version: 1.4
  7.  
  8. This is the Frequently Asked Questions posting for comp.unix.ultrix.  It
  9. is also posted on comp.sys.dec, but it is not a full FAQ for comp.sys.dec.
  10.  
  11. This FAQ is available in the following archive sites, in the file
  12. /pub/DEC/ultrix-faq.txt.
  13.  
  14.     gatekeeper.dec.com
  15.     crl.dec.com
  16.     decuac.dec.com
  17.  
  18. It can also be obtained by sending mail to ftpmail@pa.dec.com with the
  19. following lines:
  20.     connect
  21.     get /pub/DEC/ultrix-faq.txt
  22.  
  23. If the location of a file in an archive is not specifically mentioned
  24. below, it is in /pub/DEC on the above machines.
  25.  
  26. To make suggestions for changes or additions to this Frequently Asked
  27. Questions list, send mail to ultrix-faq@crl.dec.com.  Answers are
  28. especially appreciated.
  29.  
  30. An archive of recent postings to comp.unix.ultrix can be found via
  31. anonymous FTP on ftp.cc.rochester.edu in /pub/usenet/comp.unix.ultrix.
  32. Thanks to folks at the University of Rochester for providing this
  33. service.
  34.  
  35. Some general notes:
  36.  
  37. When used alone, the word "DECstation" is used to mean any of the
  38. DECstations or DECsystems that use MIPS RISC processors.
  39.  
  40. Unless otherwise specified, these answers refer to ULTRIX 4.3, which is
  41. the current release of ULTRIX.
  42.  
  43. Many people have contributed to this list, directly or indirectly.  In
  44. some cases, an answer has been adapted from one or more postings on the
  45. comp.unix.ultrix newsgroup.  Our thanks to all of those who post answers.
  46. The name (or names) at the end of an entry indicate that the information
  47. was taken from postings by those individuals; the text may have been
  48. edited for this FAQ.
  49.  
  50. This posting is not an official statement from Digital Equipment Corporation.
  51.  
  52. Alpha
  53. =====================================================
  54. A1. Where can I get more information about Alpha? **NEW**
  55. A2. Where can I find software that has been ported to Alpha? **NEW**
  56. A3. How well do Alpha systems perform? **NEW**
  57. A4. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean? **NEW**
  58.  
  59. Software
  60. ======================================================
  61. S1. How do I play music CDs on DEC CD-ROM drives?
  62. S2. Why does dxpsview sometimes crash with an X error?
  63. S3. How do I compile perl on RISC/ULTRIX?
  64. S4. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  65. S5. Where can I get a T-shell (tcsh) that works on ULTRIX 4.2?
  66. S6. How do I build gdb on RISC/ULTRIX?
  67. S7. Why doesn't "talk" work between DECstations and other machines?
  68. S8. Why doesn't troff work? **NEW**
  69. S9. How are /bin/sh and /usr/bin/sh5 related? **NEW**
  70.  
  71. Installation
  72. ======================================================
  73. I1. How do I copy a setld(8) tape?
  74. I2. How do I copy a CDROM installation kit to TK50?
  75.  
  76. Network
  77. ======================================================
  78. N1. What does the message "named: accept: Too many open files" in syslog mean,
  79.     and how can I fix it?
  80. N2. Why don't packet-filter applications like "tcpdump" or CAP work? **CHANGED*
  81. N3. OK, I've done all that and CAP still doesn't run.
  82. N4. I want to run the "screend" program but I get "Operation not supported
  83.     on socket".
  84. N5. I want to use screend but I'm not sure how to set up the
  85.     /etc/screend.conf configuration file.
  86. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  87.         ULTRIX 4.1?
  88. N7. How do I change the IP address of a diskless client?
  89. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  90.     do to port my existing applications that rely on it?
  91. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  92.     network interfaces?
  93. N10. How can I run network daemons from inetd as users other than root? **NEW**
  94. N11. How do I decode "stale filehandle" messages from NFS? **NEW**
  95.  
  96. Disk
  97. ======================================================
  98. D1. Why doesn't ULTRIX 4.1 work with disks bigger than 1.2GBytes?
  99. D2. Where can I get a disktab entry for the XXX disk?
  100.  
  101. Programming
  102. ======================================================
  103. P1. What does "unaligned access" mean, and how can I fix it?
  104.  
  105. Laser and Line Printers
  106. ======================================================
  107. L1. Where can I get a printcap entry for the XXX printer?
  108.  
  109. Graphics
  110. ======================================================
  111. G1. Why does the X server use so much memory?
  112. G2. How can I build an X11R5 server for an ULTRIX 4.1 machine?
  113. G3. How do I change or get rid of the Digital logo on the login screen of 
  114.     my workstation?
  115. G4. How do I run MIT X11 Software?
  116. G5. How do I build X software that I got from the net?
  117. G6. Why do some applications run slowly on the DECstation PX and PXG
  118.     displays?
  119.  
  120. Hardware
  121. ======================================================
  122. H1. What are the pinouts of the MMJ jacks on the back of various DECstations
  123.     and VAXstations?
  124. H2. How do I set the SCSI ID on an RZ25? 
  125. H3. How can I get detailed information on the TURBOchannel?
  126. H4. What third-party hardware can I get for the TURBOchannel? **NEW**
  127. H5. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  128.     family?
  129. H6. How can I find out which type of DECstation 5000 I have?
  130.  
  131. Miscellaneous
  132. ======================================================
  133. M1. What is the floating-point number representation on ULTRIX?
  134. M2. If the console is a graphics device, can it be used as a terminal for
  135.     full-screen applications?
  136. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  137.     machine?
  138. M4. Where can I get free source code for interesting programs on ULTRIX?
  139. M5. Where can I get technical information on the DECstation family of machines?
  140. M6. Where can I get performance information about DECstations? **CHANGED**
  141. M7. Why can't I submit a bug report by electronic mail?
  142. M8. How do I send mail to Digital employees?
  143. M9. How do I get a list of available patches for my release of Ultrix?
  144. M10. How can I get files available by anonymous FTP if I'm not connected
  145.     to the Internet?
  146. M11. How can I write documentation in Bookreader format? **NEW**
  147. M12. Why does ULTRIX restrict the number of users on the system? **NEW**
  148. M13. Where else can I discuss ULTRIX with other users? **NEW**
  149. M14. Where can I get on-line copies of the DEC Software Product Descriptions
  150.     (SPD)? **NEW*
  151.  
  152. ******************** Alpha ***************************************
  153.  
  154. =====================================================
  155. A1. Where can I get more information about Alpha? **NEW**
  156.  
  157. A variety of documents about the Alpha architecture and systems can be
  158. copied from gatekeeper.dec.com:/pub/DEC/Alpha.  See the README file for
  159. more information.
  160.  
  161. =====================================================
  162. A2. Where can I find software that has been ported to Alpha? **NEW**
  163.  
  164. gatekeeper.dec.com:/pub/DEC/Alpha/apps has several free programs that
  165. have been ported to Alpha.  Alpha support is also appearing in many
  166. kits from the originator.
  167.  
  168. =====================================================
  169. A3. How well do Alpha systems perform? **NEW**
  170.  
  171. Here is the SPEC performance summary for the Alpha systems announced
  172. in November, 1992:
  173.  
  174. DEC 10000 Model 610 AXP, @200 MHz
  175.  
  176.     SPECmark89     184.14
  177.     SPECint89       104.52
  178.     SPECfp89        268.60
  179.  
  180.     SPECint92    106.54
  181.     SPECfp92    200.36
  182.  
  183.  
  184. DEC 7000 Model 610 AXP, @182 MHz
  185.  
  186.     SPECmark89    167.43
  187.     SPECint89     95.06
  188.     SPECfp89    244.18
  189.  
  190.     SPECint92     96.58
  191.     SPECfp92    182.11
  192.  
  193.  
  194. DEC 4000 Model 610 AXP, @160 MHz
  195.  
  196.     SPECmark89    136.23
  197.     SPECint89     83.73
  198.     SPECfp89    188.45
  199.  
  200.     SPECint92     83.51
  201.     SPECfp92    143.10
  202.  
  203.  
  204. DEC 3000 Model 500 AXP, @150 MHz
  205.  
  206.     SPECmark89    121.50
  207.     SPECint89     73.47
  208.     SPECfp89    169.89
  209.  
  210.     SPECint92     74.30
  211.     SPECfp92    126.0
  212.  
  213.  
  214. DEC 3000 Model 400 AXP, @133 MHz
  215.  
  216.     SPECmark89    108.14
  217.     SPECint89     65.80
  218.     SPECfp89    150.6
  219.  
  220.     SPECint92     65.32
  221.     SPECfp92    112.2
  222. =====================================================
  223. A4. What does the "AXP" in "DEC 3000 Model 400 AXP Workstation" mean? **NEW**
  224.  
  225. The AXP is part of the trademark.  Trademarking a name internationally
  226. is challenging.
  227.  
  228. ******************** Software ***************************************
  229.  
  230. ==============================================
  231. S1. How do I play music CDs on DEC CD-ROM drives?
  232.  
  233. Music CDs can be played through a speaker jack on RRD42 CD-ROM drives,
  234. which is the one contained in the DECstation 5000/{120,125} box.
  235.  
  236. There are two different programs: A command line version and a
  237. Motif-based version. Both can be found in:
  238.  
  239.     gatekeeper.dec.com or decuac.dec.com
  240.     in /pub/DEC:
  241.             cdp.c[.Z]        /* command line version */
  242.             xcd_source.tar.Z    /* Motif version. */
  243.  
  244. Neither of these programs is supported by Digital.
  245.  
  246. ==============================================
  247. S2. Why does dxpsview sometimes crash with an X error?
  248.  
  249. dxpsview will often behave better if the "Watch Progress" item is selected
  250. from the Options menu.  You can use the following resource in your
  251. .Xdefaults file:
  252.  
  253. DPSViewer*watchProgress:        on
  254.  
  255. to make this the default behavior.
  256.  
  257. Some have reported that disabling the use of PostScript comments also helps:
  258.  
  259. DPSViewer*useComments:            off
  260.  
  261.  
  262. ==============================================
  263. S3. How do I compile perl on RISC/ULTRIX?
  264.  
  265. The following is valid for perl 4.0, patchlevel 10.  They will probably
  266. change in patchlevel 19.
  267.  
  268. The biggest trick in compiling perl on RISC/ULTRIX is fixing its
  269. notion of "volatile".  To do this, when Configure stops and asks you
  270. if you want to edit config.sh, do so. Search for the word "volatile"
  271. and change the "define" on that line to "undef".
  272.  
  273. On machines with a relatively small amount of memory, you may not want
  274. to use -O on eval.c, since the compiler can end up taking a long time
  275. to compile that file.
  276.  
  277. If the source directory is NFS-mounted, it is usually the case that you
  278. will see the message
  279.  
  280.    io/fs..........FAILED on test 18
  281.  
  282. This is harmless and can be ignored.
  283.  
  284. For patchlevel 19, you can ignore the comments above about "volatile".
  285.  
  286. ==============================================
  287. S4. Is it possible to run the newer 4.3 BSD syslogd on ULTRIX?
  288.  
  289. A version of the 4.3BSD syslog library and daemon that detects either
  290. 4.2bsd-compatible clients (which is what the Ultrix libc.a will help
  291. you create) or 4.3bsd-compatible clients, which are more flexible, is
  292. available by anonymous FTP from gatekeeper.dec.com in
  293. /pub/DEC/jtkohl-syslog.shar.
  294.  
  295. Another version that supports regular expressions in syslog.conf is available
  296. from decuac.dec.com, in /pub/DEC/syslog43.urc.tar.Z
  297.  
  298. ==============================================
  299. S5. Where can I get a T-shell (tcsh) that works on ULTRIX 4.2?
  300.  
  301. Versions of tcsh later than 6.01 run on ULTRIX 4.2.  The latest
  302. version the FAQ editor knows is 6.02, available by anonymous FTP from
  303. tesla.ee.cornell.edu. You do not need csh sources for this version of
  304. tcsh.
  305.  
  306. ==============================================
  307. S6. How do I build gdb on RISC/ULTRIX?
  308.  
  309. To build gdb, you will also need to install the GNU make.
  310.  
  311. For gdb 4.0 and later: 
  312. - unpack the tar file
  313. - cd <tar-root>
  314. - ./configure +subdirs decstation
  315. - cd H-decstation/T-decstation
  316. - gnumake
  317.  
  318. This will build the gdb binary in
  319. <tar-root>/gdb/H-decstation/T-decstation/gdb
  320.  
  321. Install this binary in the location of your choice (e.g. /usr/local/bin)
  322.  
  323. ==============================================
  324. S7. Why doesn't "talk" work between DECstations and other machines?
  325.  
  326. The original Berkeley talk protocol did not use network byte order, so
  327. machines with different byte order could not talk to each other.  This
  328. was fixed in 4.3BSD, and in recent versions of ULTRIX.  Some vendors
  329. have not fixed their software.  The 4.3BSD talk software is available
  330. from many FTP archive sites.
  331.  
  332. ==============================================
  333. S8. Why doesn't troff work? **NEW**
  334.  
  335. Digital doesn not support troff on ULTRIX, mostly because of the way
  336. AT&T licenses the software now.  However, you can use groff (GNU roff)
  337. which works pretty nicely and generates pure PostScript. There's a
  338. RISC/ULTRIX binary kit for groff available for FTP from decuac.dec.com in
  339.                     [Marcus Ranum, mjr@decuac.dec.com]
  340.  
  341. ==============================================
  342. S9. How are /bin/sh and /usr/bin/sh5 related? **NEW**
  343.  
  344. /bin/sh on ULTRIX is the traditional Bourne shell.
  345.  /usr/bin/sh5 is the newer "System V" shell and has functions and a
  346. few other odds and ends added to it. A comparison of the manual pages
  347. will give an idea of the differences.
  348.                     [Marcus Ranum, mjr@decuac.dec.com]
  349.  
  350. ******************** Installation ***************************************
  351.  
  352. ==============================================
  353. I1. How do I copy a setld(8) tape?
  354.  
  355. First, a few words about the format of a setld tape.
  356.  
  357. Tapes used by setld(8) consist of a number of tape files that contain the
  358. product subsets, installation control files and other stuff.  The fourth
  359. file on the tape is an uncompressed tar(1) archive of the inventory files
  360. (.inv), subset control programs (.scp) and control information (.ctrl).
  361. There is also a file that lists the subsets, their sizes and checksums
  362. (.image).  The tapes files after the 4th are the subset files.  They may or
  363. may not be compressed.  They will have a block size of 10 KB.  The order of
  364. lines in the .image file is the order of subset on the tape, with the
  365. classic exception.
  366.  
  367. There are two flavors of tapes; Layered product tapes and ULTRIX
  368. distribution tapes.  The first three files on layered product tapes will
  369. typically be space holders and only one 10 KB file.  Distribution tapes use
  370. the first three files for other things.  The 3rd of these files is dump(8)
  371. image of the root file system.  The block size of this file will be 10 KB.
  372. In the .image file for the distribution it would be listed ROOT:
  373.  
  374.     44419 12720 ROOT
  375.     01690 12080 UDTBASE420
  376.     47187 14340 UDTBIN420
  377.     etc...
  378.  
  379. So, on this distribution tape ROOT is 3rd, the installation control
  380. archive (INSTCTRL) is 4th, UDTBASE420 is 5th and so on.
  381.  
  382. The first two files are a primary and secondary boot program.  Whether
  383. the 2nd is necessary depends on system architecture.  The MIPS-based
  384. systems typically only use the first boot file; the VAX uses both.
  385. The block size of the first boot program is 512 bytes.
  386.  
  387. Copying a setld tape
  388.  
  389. Use dd(1) to copy each tape file using the appropriate block size.  When you
  390. run out of tape input files you're done.  For example, if you are using
  391. two tape drives:
  392.  
  393.        dd bs=512   if=/dev/nrmt0h of=/dev/nrmt1h
  394.        dd bs=10240 if=/dev/nrmt0h of=/dev/nrmt1h
  395.        dd bs=10240 if=/dev/nrmt0h of=/dev/nrmt1h
  396.        ...
  397.        mt -f /dev/nrmt0h rew
  398.        mt -f /dev/nrmt1h rew
  399.  
  400. ==============================================
  401. I2. How do I copy a CDROM installation kit to TK50?
  402.  
  403. The two shell shell scripts below can be used to duplicate CDROM or disk
  404. layered product distributions (note: not the base system) onto a TK50.
  405. They are not supported by Digital.
  406.  
  407. --------------------------cut here--------------------------------------------
  408. #!/bin/sh5
  409. # cdrom_kitcap
  410. # This script is based on one from "Guide for Preparing Software for
  411. # Distribution" (but this one really works).  This script prepares the
  412. # /etc/kitcap file which is needed by the gentapes script to create,
  413. # in this specific case, a copy of cdrom software (layered product only)
  414. # to TK50...
  415. # note: this script uses tmp space, insure $TMPDIR is pointing to a file
  416. # system with enough space to copy files...
  417. # Original author:   John R. Frandsen, Digital Equipment Corporation
  418.  
  419. TMPDIR=/usr/tmp
  420. KITCAP=$TMPDIR/kitcap
  421. CURVOL=1
  422.  
  423. BINDIR=`pwd`
  424.  
  425. touch $TMPDIR/space
  426. tar cf $TMPDIR/SPACE $TMPDIR/space
  427.  
  428. cd instctrl
  429.  
  430. I=`expr *.image : '\(.*\).image'`
  431. echo "Your product code is $I"
  432.  
  433. tar cf $TMPDIR/INSTCTRL *
  434.  
  435. echo "${I}TK:$TMPDIR:SPACE:SPACE:SPACE:INSTCTRL:\\" >> $KITCAP
  436.  
  437. for S in `awk '{print $3}' *.image`
  438. do
  439.     [ $S = ROOT ] && continue
  440.     . $S.ctrl
  441.     set -- `(IFS=:;echo $MTLOC)`
  442.     VOL=$1
  443.     LOC=$2
  444.     [ $VOL -ne $CURVOL ] &&
  445.     {
  446.         echo ":%%$VOL        CURVOL=$VOL" >> $KITCAP
  447.     }
  448.     echo ":$S\\" >> $KITCAP
  449.     cp $BINDIR/$S $TMPDIR
  450. done
  451. echo >> $KITCAP
  452.  
  453. mv $TMPDIR/kitcap /etc
  454. cd $BINDIR
  455.  
  456. --------------------------cut here--------------------------------------------
  457. #!/bin/sh5
  458. # disk_kitcap
  459. # This script is based on one from "Guide for Preparing Software for
  460. # Distribution" (but this one really works).  This script prepares the
  461. # /etc/kitcap file which is needed by the gentapes script to create,
  462. # in this specific case, a copy of disk software (layered product only)
  463. # to TK50...
  464. # Original author:   John R. Frandsen, Digital Equipment Corporation
  465.  
  466.  
  467. KITCAP=/tmp/kitcap
  468. CURVOL=1
  469.  
  470. touch space
  471. tar cf SPACE space
  472.  
  473. cd instctrl
  474.  
  475. I=`expr *.image : '\(.*\).image'`
  476. echo "Your product code is $I"
  477. cp $I.image ..
  478.  
  479. tar cf ../INSTCTRL *
  480.  
  481. cd ..
  482.  
  483. echo "${I}TK:`pwd`:SPACE:SPACE:SPACE:INSTCTRL:\\" >> $KITCAP
  484.  
  485. cd instctrl
  486.  
  487. for S in `awk '{print $3}' *.image`
  488. do
  489.     [ $S = ROOT ] && continue
  490.     . $S.ctrl
  491.     set -- `(IFS=:;echo $MTLOC)`
  492.     VOL=$1
  493.     LOC=$2
  494.     [ $VOL -ne $CURVOL ] &&
  495.     {
  496.         echo ":%%$VOL        CURVOL=$VOL" >> $KITCAP
  497.     }
  498.     echo ":$S\\" >> $KITCAP
  499. done
  500. echo >> $KITCAP
  501.  
  502. mv /tmp/kitcap /etc
  503.     
  504. #----------------------------------------------------------------------------
  505.  
  506.  
  507. ******************** Network ***************************************
  508.  
  509. ==============================================
  510. N1. What does the message "named: accept: Too many open files" in syslog mean,
  511.     and how can I fix it?
  512.  
  513. There is a bug in the ULTRIX version of named that causes it to run
  514. out of file descriptors when it does too many zone transfers.  A
  515. somewhat different version of named that does not have this problem
  516. can be found in cra-bind.tar.Z.  This version cannot use Kerberos for
  517. server-server authentication, as the ULTRIX version can.  It does
  518. support Hesiod data and queries.  It is not supported by Digital,
  519. although it is in active use on Digital's Internet machines.
  520.  
  521.  
  522.  
  523. ==============================================
  524. N2. Why don't packet-filter applications like "tcpdump" or CAP work?
  525.  
  526. Probably because you have not configured the packet filter into
  527. the kernel.  The default kernel configurations do NOT include the
  528. packet filter.  See "man 4 packetfilter" for full details, but basically
  529. the process involves
  530.  
  531.     editing your kernel configuration file
  532.         add "options PACKETFILTER"
  533.         add "pseudo-device packetfilter"
  534.     rebuilding your kernel
  535.     installing the new kernel
  536.     booting the new kernel
  537.     "cd /dev; MAKEDEV pfilt" to create the required entries
  538.  
  539. You might also want to add the following lines to /etc/rc.local:
  540. [ -f /usr/etc/pfconfig ] && {
  541.         /usr/etc/pfconfig +p +c -a 2>&1 & echo -n ' pfconfig'   >/dev/console
  542. }
  543.  
  544. This allows you to use promiscuous-mode applications, such as "tcpdump"
  545. or "nfswatch".  Note that the '-a' option to pfconfig allows any user to
  546. spy on the network.  If it is omitted, only root may do so.
  547.  
  548. There are also some patches for ULTRIX 4.2 and 4.2A for the
  549. packetfilter code.  Call Digital's Customer Support if you need them.
  550. The official description of the patches is below; here is some
  551. background information. ULTRIX 4.3 has all of the patches included.
  552. Note: these patches cause DECnet-OSI not to work.  To run DECnet-OSI
  553. on ULTRIX 4.3, you will need the latest patched version of
  554. net_common.o for 4.3.
  555.  
  556. Although not mentioned in the description, these patches should also
  557. make Ultrix more forgiving of certain incorrect 802.3 packets.  Such
  558. packets are sent by some 3rd-party implementations.  I don't think
  559. this will fix the problem in every case, since some Digital Ethernet
  560. interfaces filter out "bad" 802.3 packets in hardware.  The patches
  561. should work for DECstations and most DECsystems.
  562.  
  563. Note that if you install these patches and you have been running CAP,
  564. you should recompile CAP after removing the definition for ULT42PFBUG
  565. from the Configure script.  The ULT42PFBUG patch to CAP will not work
  566. once the kernel has been patched.  You should also *stop* doing
  567.  
  568.     ifconfig ln0 copyall
  569.  
  570. once you install the patches.
  571.  
  572. If you have been using tcpdump, nfswatch, or a similar monitoring
  573. program on an FDDI network, installing these patches will probably
  574. make that not work.  You will still be able to use tcpdump on an
  575. Ethernet, of course.  The reason for this is that tcpdump only worked
  576. on FDDI networks because of the bug that is fixed by these patches.
  577.  
  578. These patches are available for Ultrix 4.2 and 4.2A, and for both RISC
  579. and VAX.  They must not be applied to previous versions of Ultrix.
  580.  
  581. Finally, note you must install new versions of BOTH net_common.o
  582. and pfilt.o; you cannot just install one of the files.
  583.  
  584. /sys/{MIPS,VAX}/BINARY/net_common.o      
  585. /sys/{MIPS,VAX}/BINARY/pfilt.o
  586. -----------------------------------          
  587.                           (v4.2 RISC & VAX, v4.2a RISC)
  588.  
  589. Listed are problem resolved by these 2 patches:
  590.  
  591. 1. PACKET FILTER FAILS TO RECEIVE UNICASTS TO LOCAL HOST
  592.  
  593. The packet filter mechanism is supposed to allow a user application
  594. to receive packets that are sent to the local host, if no other
  595. protocol in the kernel wants to use the packet.  This worked fine
  596. in Ultrix 4.0 and 4.1, but in Ultrix 4.2 it is broken.
  597.  
  598. Apparently, setting "copyall" with ifconfig is a workaround, but
  599. this is an EXTREMELY inefficient workaround, and requires users
  600. to reconfigure their systems as super-user.
  601.  
  602. 2. PACKET FILTER IOCTL EIOCDEVP RETURNS WRONG MTU VALUE
  603.  
  604. A change was made to increase the size for ethernet packets
  605. from 1500 bytes to 1514 bytes which is the MAX size for the ethernet.
  606. This will allow 1500 bytes for the message and 14 bytes for the header.
  607.  
  608. Also corrected the value returned in endevp.end_MTU by the EIOCDEVP ioctl.
  609.  
  610. 3. 802.3/802.2 PACKETS NOT PROPERLY DELIVERED TO PACKET FILTER
  611.  
  612. The packet filter is defined, in its manual page, to provide packets
  613. to user applications exactly as those packets appear on the network.
  614. The current kernel code mangles the headers of 802.2 encapsulations
  615. of Ethernet packets, causing several popular applications to fail.
  616.  
  617.                         [Jeff Mogul, mogul@pa.dec.com]
  618. ==============================================
  619. N3. OK, I've done all that and CAP still doesn't run.
  620.  
  621. [See the previous topic for information on relevant patches for ULTRIX.]
  622.  
  623. There are several bugs in the Ultrix 4.2 packet filter mechanism, both
  624. of which affect CAP.  The details are complex, but you can solve one
  625. of them by doing (as super-user, probably from /etc/rc.local)
  626.  
  627.     /etc/ifconfig ln0 copyall
  628.  
  629. (substitute whatever interface type you are using for "ln0").  The
  630. other bug, which apparently only affects CAP when "Phase 2" is in use,
  631. requires a patch to CAP.  CAP patches are available from a number of
  632. archive sites, including gatekeeper.dec.com: in the directory named
  633.  
  634.     /pub/net/appletalk/cap/cap.patches
  635.  
  636. Another problem you may have is that some Ethernet interfaces sold for
  637. the Macintosh occasionally send incorrect 802.3 packet headers.  (The
  638. bug is that they send a packet whose length does not match the value
  639. provided in the 802.3 header's length field.  Ultrix 4.2, as well as
  640. some of Digital's Ethernet interface hardware, is strict about
  641. checking 802.3 header, and does not accept these packets.)  As of this
  642. writing, a patch is not yet available and there is no workaround.  If
  643. you can, you should try to get the vendor of the nonconforming
  644. interface to provide a solution.
  645.  
  646. Once you have obtained an up-to-date, fully patched copy of CAP 6.0,
  647. the Configure script does not automatically switch on the workaround
  648. code; you must manually edit the m4.setup file to turn the workaround
  649. code on.
  650.  
  651.                         [Jeff Mogul, mogul@pa.dec.com]
  652. ==============================================
  653. N4. I want to run the "screend" program but I get "Operation not supported
  654.     on socket".
  655.  
  656. By default, support for screend is not configured into the Ultrix 4.2
  657. kernel, and the documentation for this is missing.  Edit your kernel
  658. configuration file to include the line:
  659.  
  660.     pseudo-device   gwscreen
  661.  
  662. and rebuild your kernel (i.e., run /etc/config, then change to the
  663. right directory and do "make depend" and then "make").  Install the
  664. new kernel and reboot the system.
  665.  
  666.                         [Jeff Mogul, mogul@pa.dec.com]
  667. ==============================================
  668. N5. I want to use screend but I'm not sure how to set up the
  669.     /etc/screend.conf configuration file.
  670.  
  671. Get a copy of NSL Network Note NN-16, "Using screend to Implement
  672. IP/TCP Security Policies".  Send mail with "Subject: help" for
  673. information on how to order this, or just "Subject: send postscript
  674. nn-16" if you want to receive the PostScript file via return mail to
  675.     nsl-techreports@pa.dec.com
  676.      or ...!uunet!decwrl!nsl-techreports
  677.                         [Jeff Mogul, mogul@pa.dec.com]
  678. ==============================================
  679. N6. Why can't ULTRIX 4.2 mount NFS filesystems that could be mounted with
  680.         ULTRIX 4.1?
  681.  
  682. The version of SUN RPC shipped with ULTRIX V4.2 supports up to 32
  683. groups per user, whereas previous versions supported 8 groups per
  684. user.  Users that are members of more than 8 groups cannot NFS mount
  685. file systems from NFS servers using the version of SUN RPC that only
  686. supports 8 groups.
  687.  
  688. The error message  that nfs_mount will give you if you are in too many
  689. groups will look like this:
  690.  
  691. nfs_mount: crltrx:/usr/local server not responding: RPC: Authentication error;
  692. why = Invalid client credential
  693. nfs_mount: access denied for crltrx:/usr/local
  694.  
  695. The workaround is to reduce the number of groups you are a member of
  696. to eight or less to make NFS mounts work again.  In particular, you should
  697. check the number of groups that "root" is in.
  698.  
  699.  
  700. ==============================================
  701. N7. How do I change the IP address of a diskless client?
  702.  
  703. To change the IP address of a diskless client, first change it in
  704. whatever hosts database you use (BIND, /etc/hosts, or YP).  There is
  705. also a file in the client's /etc directory called netblk.c.  It looks like
  706. this:
  707.  
  708. #include <sas/mop.h>
  709. struct netblk   nblk={
  710. "server",
  711. 0x100b002a, "client", 0x100b003e, 0x100b00ff, 0xffffff00,
  712. 0,
  713. 5,
  714. 0,
  715. 0,
  716. "/dlclient0/client.root",
  717. "rz3b",
  718. ""
  719. };
  720.  
  721. The various fields of the structure are defined in /usr/include/sas/mop.h.
  722. Change the client's address (expressed here as a 32-bit integer), and
  723. compile netblk.c using 'cc -c netblk.c'.
  724.  
  725. The netmask and the broadcast address can also be changed here.
  726.  
  727. ==============================================
  728. N8. Is ONC RPC (formerly "Sun RPC") supported under ULTRIX - and what should I
  729.     do to port my existing applications that rely on it?
  730.  
  731. ONC RPC (formerly "Sun RPC") is not supported under ULTRIX. This means
  732. that not only may some library routines like "clnt_create" not exist,
  733. but that if they do, they may not work as expected. If you need to use
  734. RPC for an application can use the unsupported version of the RPC4.0
  735. distribution that is available for FTP from crl.dec.com and
  736. decuac.dec.com in pub/sources/rpc4.0-ultrix.tar.Z.
  737.  
  738. ONC RPC will be a supported component of Digital's OSF/1 product.
  739.  
  740.  
  741. ==============================================
  742. N9. How can I disable forwarding of IP packets on an ULTRIX system with two
  743.     network interfaces?
  744.  
  745. Put this in rc.local:
  746.  
  747. echo -n 'disabling kernel routing: ipforwarding '        >/dev/console
  748. /usr/etc/kvar -k -wl -s ipforwarding -v 0 /vmunix        >/dev/console
  749.  
  750. ==============================================
  751. N10. How can I run network daemons from inetd as users other than root? **NEW**
  752.  
  753. inetd will take a username as the fifth field.  This is not documented
  754. on the inetd manual page.  For example:
  755.  
  756. finger    stream    tcp    nowait    nobody    /usr/etc/fingerd    fingerd
  757.  
  758. ==============================================
  759. N11. How do I decode "stale filehandle" messages from NFS? **NEW**
  760.  
  761. In the message 
  762.  
  763.     NFS server: stale file handle _fs(21,154) file 4100
  764.  
  765. 21 and 154 are the major and minor device numbers.  4100 is the inode number.
  766. Running 'ls -l' on /dev will show the device numbers, so you can ask
  767. mount what directory the filesystem is mounted on.  Then use
  768.  
  769.     find <file system> -inum <inode no> -print
  770.  
  771. to find the file.
  772.                 [Peter Mayne, pjdm@chmeee.enet.dec.com] 
  773.                 [Greg Shapiro, gshapiro@monkeyboy.WPI.EDU]
  774.  
  775. ******************** Disk ***************************************
  776.  
  777. ==============================================
  778. D1. Why doesn't ULTRIX 4.1 work with disks bigger than 1.2GBytes?
  779.  
  780. There is a bug in the V4.1 SCSI driver that will only allow it to read
  781. something like (2 ** 21) or (2 ** 20) LBNs.  After that it wraps
  782. around to the beginning of the disk.  It is fixed in V4.2.
  783.  
  784. ==============================================
  785. D2. Where can I get a disktab entry for the XXX disk?
  786.  
  787. A collection of contributed disktab entries is in
  788. /pub/DEC/ultrix-disktabs on the usual archive machines.  Get a copy of
  789. the file for an up-to-date list.
  790.  
  791.  
  792. ==============================================
  793.  
  794. ******************** Programming ***************************************
  795.  
  796. P1. What does "unaligned access" mean, and how can I fix it?
  797.  
  798. Unaligned accesses typically come up when programs use malloc(3) or
  799. other memory allocation routines in atypical ways, or when programs do
  800. certain (hazardous) kinds of type casts.
  801.  
  802. malloc(3) returns data aligned to the most restrictive alignment (8
  803. byte boundaries on MIPS machines).  If you are writing your own
  804. malloc wrapper (say to add a reference count) and you write code like
  805. this:
  806.  
  807.     char *mymalloc(int size)
  808.     {
  809.       short *newmem;
  810.  
  811.       newmem = (short *) malloc(size + sizeof(short));
  812.       *newmem = 1; /* initialize reference count */
  813.       return (char *) (newmem + 1);
  814.         }
  815.  
  816. you are then returning a pointer that is no longer 8-byte aligned.  Now, code
  817. like
  818.  
  819.     int *i;
  820.     i = (int *) mymalloc(sizeof(int));
  821.     *i = 10;
  822.  
  823. will generate unaligned access messages whenever *i is used.
  824.  
  825. An example of dangerous casting would be something like 
  826.  
  827.         char buffer[100];
  828.         int i;
  829.  
  830.     i = (int)*((int *)&buffer[3]);
  831.  
  832. The program will usually still run correctly, because an exception
  833. handler in the kernel performs an unaligned read.  There are some rare
  834. cases, however, where the fixed read yields incorrect results.  The
  835. messages are printed by default because one usually wants to know when
  836. a program is generating the unaligned accesses.
  837.  
  838. Now, if you're only getting a few of these messages, it might not
  839. matter, but if you're getting pages of them (or worse, have turned off
  840. the logger because you were getting so many unaligned access
  841. messages), you might consider correcting your program.
  842.  
  843. You can use the uac(1) (Unaligned Acces Message Control) command to
  844. turn off the messages.
  845.  
  846. If you want to find the the problem in the source code, you can use dbx.
  847. Suppose the message is:
  848.  
  849.     Fixed up unaligned data access for pid 2337 (bozo) at pc 0x5ad364
  850.  
  851. This tells you that the problem occurs in the program "bozo".  In dbx,
  852. you would type, for example:
  853.  
  854.     % dbx bozo
  855.     (dbx) 0x5ad364/i
  856.  
  857.     *[main:206, 0x0x5ad364]  lw      r0,40(sp)
  858.  
  859. dbx prints the offending instruction, along with its location: line 206
  860. in main().
  861. If you need to do unaligned accesses, you might find the following useful:
  862.  
  863. int unaligned_load_word(int *src);
  864. int unaligned_load_half(short *src);
  865. unsigned int unaligned_load_uhalf(unsigned short *src);
  866. float unaligned_load_float(float *src);
  867. double unaligned_load_double(double *src);
  868.  
  869. void unaligned_store_word(int *dst,int val);
  870. void unaligned_store_half(short *dst,int val);
  871. void unaligned_store_float(float *dst,float val);
  872. void unaligned_store_double(double *dst,double val);
  873.  
  874. These unaligned access routines are an unsupported component of the
  875. standard C library on RISC/ULTRIX. They provide for alignment-safe
  876. access to the primitive data types (short,int,float,double). They are
  877. fairly fast as they use the special MIPS unaligned instructions
  878. (LWL,LWR,SWL,SWL) for doing the complicated part of the work.
  879.  
  880. If you are running ULTRIX 4.2, and you would like to disable the automatic
  881. fixup of unaligned accesses, use:
  882.  
  883. #include <sys/syscall.h>
  884. #include <sys/sysmips.h>
  885.  
  886. syscall(SYS_sysmips, MIPS_FIXADE, 0, NULL, NULL, NULL);
  887.  
  888. The above code fragment will disable address fixups for your process,
  889. and this will be inherited by any children. Where a fixup would have
  890. occured, you will get a SIGBUS.
  891.  
  892.  
  893. ******************** Laser & Line Printers **************************
  894.  
  895. ==============================================
  896. L1. Where can I get a printcap entry for the XXX printer?
  897.  
  898. A collection of contributed printcap entries is in
  899. /pub/DEC/ultrix-printcap on the usual archive machines.  Get a copy of
  900. the file for an up-to-date list.
  901.  
  902. ******************** Graphics ***************************************
  903.  
  904. ==============================================
  905. G1. Why does the X server use so much memory?
  906.  
  907. Xws and the other other DEC X servers generally grow larger with
  908. workload, not because of memory leaks.  When you start an X server,
  909. its process is quite small.  As applications are started, the server
  910. allocates memory for a variety of reasons to service requests from
  911. clients.  An example of this is allocating a pixmap.  When the
  912. resource is freed, the corresponding memory is freed back to the
  913. malloc pool, but the server image doesn't get any smaller.  This is
  914. true of any application where you malloc memory and then free it. If
  915. your workload is consistent, server growth is asymptotic, growing
  916. quickly at first, then tapering off.  In other words, if you exit the
  917. application that caused the server to allocate a lot of memory, the
  918. server size won't shrink when the application exits, but the server
  919. won't grow any larger if you run the same application the same way
  920. again.
  921.  
  922. Of course it's possible that a memory leak in the server still exists.
  923. If you think you have a memory leak, you should figure out which
  924. application you run that triggers the leak.  You should run that
  925. application several times, observing the server size with every
  926. iteration.  If the server grows by an appreciable amount each time,
  927. please file an SPR.
  928.  
  929. For workstations with minimal memory, we recommend that you use the
  930. following server command line arguments:
  931.  
  932.     -once    (restart the server afresh for each session)
  933.     -su     (inhibit save unders)
  934.     -bs     (inhibit backing store)
  935.  
  936. The -su and -bs flags essentially trade CPU for memory, making
  937. applications work harder in some cases to save server memory.  This
  938. tradeoff isn't as bad as it may sound.
  939.                     [Joel Gringorten, gringort@wsl.dec.com]
  940.  
  941. ==============================================
  942. G2. How can I build an X11R5 server for an ULTRIX 4.1 machine?
  943.  
  944. The display device drivers changed significantly between ULTRIX 4.1
  945. and ULTRIX 4.2.  To build an R5 server on ULTRIX 4.1 system, edit the
  946. Edit the file ultrix.cf in mit/config and #define OSMinorVersion to be
  947. 1.  This should cause the Xcfbpmax server to be built instead of the
  948. Xdec server.  Xdec only runs on ULTRIX 4.2.
  949.  
  950. ==============================================
  951. G3. How do I change or get rid of the Digital logo on the login screen of 
  952.     my workstation?
  953.  
  954. To have no logo displayed at all, add this line to /.Xdefaults:
  955.  
  956.     XSessionManager*displayLogo:    no
  957.  
  958. To replace the Digital logo with a different Encapsulated PostScript
  959. image, add the following to /.Xdefaults:
  960.  
  961.     XSessionManager*logoFile:       filename
  962.     XSessionManager*logoFullScreen: true
  963.  
  964. Make sure that "filename" is the full path to a PostScript file.
  965. Note that the PostScript should not end with a "showpage" or the page
  966. will print and then disappear with the "new page."
  967.  
  968. ==============================================
  969. G4. How do I run MIT X11 Software?
  970.  
  971. If you are running with Ultrix 4.2 or later, you should have received
  972. some sort of distribution media with "Unsupported" subsets on it.
  973. Among those subsets are the following:
  974.  
  975.     UDXUNFONTS420 'Unsupported MIT Fonts'
  976.         UDXUNMAN420   'Unsupported X11 Reference Pages'
  977.         UDXUNMIT420   'Unsupported X11 Components'
  978.  
  979. These subsets, in total, provide the fonts, manual pages, and clients
  980. from the X11 Release 4 distribution from MIT, with a few minimal
  981. changes to fix problems that cropped up after the MIT release.
  982.  
  983. If all you want is R4 clients, load the above subsets.  These subsets
  984. were built directly from the X Consortium sources and include all of
  985. the public patches.  The R4 clients will be installed in /usr/bin/X11;
  986. put that directory in your path in order to access them.  An ls on
  987. /usr/bin/X11 will also reveal the names of the applications that are
  988. available.
  989.  
  990. If you have a previous version of Ultrix, or if you need X11 Release
  991. 5, you will have to build from the X Consortium sources yourself.
  992. There are some difficulties associated with building Release 4 from
  993. source on Ultrix versions 4.0 and higher; fortunately, Release 5
  994. corrects these problems, so be sure to start with a fresh Release 5
  995. distribution.
  996.  
  997. Building from source should be a simple matter of editing the
  998. mit/config/ultrix.cf file and then connecting to the toplevel
  999. directory and typing ``Make World''.  If you are running Ultrix 4.2,
  1000. you don't need to edit ultrix.cf, but for other versions of Ultrix, be
  1001. sure to cd to mit/config and change the OSMinorVersion (and, for
  1002. versions of Ultrix prior to 4.0, the OSMajorVersion) number to the
  1003. appropriate number for your version of Ultrix.
  1004.  
  1005. As mentioned in another FAQ answer, the Xdec server provides
  1006. multiscreen capability for colour frame buffers, but features of
  1007. Ultrix required to support this capability are not present prior to
  1008. Ultrix 4.2; for those versions, the Xcfbpmax server will be built;
  1009. this server only supports one display per machine, and only DECstation
  1010. 2100 and 3100 and DECstation 5000 models running with the CX adapter.
  1011.  
  1012. The Xdec server should work on the following systems:
  1013.  
  1014.         DECstation 2100 Monochrome or Color Workstations
  1015.         DECstation 3100 Monochrome or Color Workstations
  1016.         DECstation 5000/1xx CX, MX or HX Single or Multiscreen Workstations
  1017.     DECstation 5000/2xx CX, MX or HX Single or Multiscreen Workstations
  1018.  
  1019. The support for the HX option on the above platforms is limited to
  1020. direct frame buffer I/O - the graphics processor present on the HX
  1021. board will not be used.  This means that performance with the R5
  1022. server will be substantially worse than performance with the
  1023. DEC-supplied server in most cases.  Support for the PX and PXG options
  1024. is not present in R5 in any form.  Support for the MX exists, but some
  1025. problems have been reported when attempting to render non-black,
  1026. non-white pixels.
  1027.  
  1028. Source to X11 Release Five can be copied across the Internet from
  1029. gatekeeper.dec.com (16.1.0.2), crl.dec.com (192.58.206.2), or
  1030. export.lcs.mit.edu (18.24.0.12).  Other internet archives may also
  1031. have full source distributions; asking around on the Usenet newsgroup
  1032. comp.windows.x will probably elicit this information.
  1033.  
  1034.  
  1035. ==============================================
  1036. G5. How do I build X software that I got from the net?
  1037.  
  1038. If you get source code to an X application from somewhere and want to
  1039. build it, here are a few helpful hints:
  1040.  
  1041. First, make sure the following subsets are installed:
  1042.  
  1043.         UDXUNMIT420
  1044.         UDXUNFONTS420
  1045.  
  1046. You may also find the man pages for the previous two subsets
  1047. useful.  They're in:
  1048.  
  1049.         UDXUNMAN420    
  1050.  
  1051. Next, add the following line to the end of /usr/lib/X11/config/site.def
  1052.  
  1053.         #define StandardIncludes -I/usr/include/mit
  1054.  
  1055. If there are any README files with the source code, now is a good time
  1056. to read them, and make any changes they suggest.
  1057.  
  1058. If you installed the MIT X11 distribution from MIT, rather than the
  1059. ULTRIX subsets, your local configuration may be different.
  1060.  
  1061. If there is an Imakefile:
  1062.  
  1063. If the source code has a file called "Imakefile" at the top of its
  1064. directory hierarchy, typing the following in that top-level directory
  1065. should build the application:
  1066.  
  1067.         xmkmf
  1068.         make Makefiles
  1069.         make depend
  1070.         make
  1071.  
  1072. To install the application, type
  1073.  
  1074.         make install
  1075.  
  1076.  
  1077. If there isn't an Imakefile:
  1078.  
  1079. You might have to edit the Makefile to make the application compile.
  1080.  
  1081. If ".h" files (like those for the Athena widget set, "Xaw") are not
  1082. being found, adding "-I/usr/include/mit" to the "cc" command(s) in the
  1083. Makefile will usually do the trick.
  1084.  
  1085. If you are having problems linking, try using "-lXext-mit" and "-lX11-mit"
  1086. instead of "-lXext" and "-lX11" in the Makefile.
  1087.  
  1088. ==============================================
  1089. G6. Why do some applications run slowly on the DECstation PX and PXG
  1090.     displays?
  1091.  
  1092. The PX and PXG graphics adapters are designed for high-speed
  1093. two-dimensional vector drawing and for high-speed three-dimensional
  1094. rotation and polygon fills, respectively.  In order to get maximum
  1095. performance in these specialized areas, both kinds of adapters have
  1096. their own intelligent on-board processor which do high-speed drawing
  1097. operations, and in the case of the PXG, a general purpose RISC
  1098. processor which does 3D rendering, scaling and rotation.
  1099.  
  1100. In order to optimize graphics performance, a tradeoff was made on both
  1101. of these boards which prevents your system CPU from directly accessing
  1102. display memory.  Allowing your system CPU to directly access display
  1103. memory would, at a minimum, cut the graphics accelerator performance
  1104. by a factor of two, and perhaps more.
  1105.  
  1106. Unfortunately, as a result, operations which involve the copying of
  1107. large images (Pixmaps) into or out of display memory are performed
  1108. much more slowly than they would be if the processor were able to
  1109. directly access system memory.
  1110.  
  1111. One example of this is the ever-popular background image.  The X
  1112. server keeps a Pixmap containing the pattern with which to paint the
  1113. root window; whenever an area of the root window is exposed, the X
  1114. server must copy that portion of the Pixmap over the relatively
  1115. low-performance I/O channel to the PX or PXG adapter, which then
  1116. copies it into display memory.
  1117.  
  1118. As a result, iconifying and deiconifying windows can become a fairly
  1119. slow experience, particularly on systems with lower TurboChannel
  1120. bandwidth.  In this case, the solution is simple; just use the
  1121. standard, boring background.  However, if an application that you use
  1122. actually needs to copy Pixmaps to the screen on a regular basis, you
  1123. will definitely experience slow performance; there's no way to fix
  1124. this problem.
  1125.  
  1126. Unless you need the vector performance of the PX or the 3D rendering
  1127. capabilities of the PXG, use one of the several boards DEC produces
  1128. which are optimized for windowing and imaging, such as the CX (dumb
  1129. colour frame buffer), MX (dumb monochrome frame buffer), HX (smart
  1130. colour frame buffer), or TX (imaging colour frame buffer).
  1131.  
  1132. ******************** Hardware ***************************************
  1133.  
  1134. ==============================================
  1135. H1. What are the pinouts of the MMJ jacks on the back of various DECstations
  1136.     and VAXstations?
  1137.  
  1138. This describes the 6-pin modified modular jack (MMJ) used for serial ports
  1139. on various DECstations and VAXstations, as well as on other DEC equipment.
  1140.  
  1141. DEC carries four DB-to-MMJ adaptors.  They are internally wired as follows
  1142.  
  1143.                    Rdy Out  TX+  TX-  RX-  RX+  Rdy In            
  1144.  Adaptor   Gender     1      2    3    4    5     6       Use with:
  1145. --------------------------------------------------------------------------
  1146.  H8575-A     F      20      2    7    7    3    6&8     VTxxx terminal
  1147.  H8571-C     M       6      3    7    7    2     20     DEC printer
  1148.  H8571-D     M       6      3    7    7    2     20     Modem
  1149.  H8571-E     M      20      2    7    7    3    6&8     Female terminal
  1150.                                                         or LaserWriter
  1151. --------------------------------------------------------------------------
  1152.  
  1153. RS-232 using DB-25 connectors:
  1154.                                                 DTE           DCE
  1155.                                              Terminal        Modem
  1156.                                             or computer
  1157. Pin Number Signal Name
  1158.     2          TD        Transmit Data                   -->
  1159.     3          RD        Receive Data                    <--
  1160.     7          GND       Ground                          ---
  1161.     6          DSR       Data Set Ready                  <--
  1162.     8          DCD       Data Carrier Detect             <--
  1163.    20          DTR       Data Terminal Ready             -->
  1164.  
  1165.  
  1166.  
  1167. ==============================================
  1168. H2. How do I set the SCSI ID on an RZ25? 
  1169.  
  1170. Back by the power connector are a row of 3 jumpers. These set the scsi
  1171. id. The one closest to the power connector is bit 2, and you install a
  1172. jumper to get a "1". The default id is 7, which conflicts with the
  1173. controller.  Note that the mounting bracket on the drive covers these
  1174. jumpers, so they are not immediately obvious.
  1175.  
  1176.  
  1177. ==============================================
  1178. H3. How can I get detailed information on the TURBOchannel?
  1179.  
  1180. The TURBOchannel is a 32bit synchronous I/O channel that is currently
  1181. used on products in the VAX, MIPS and ALPHA architectures. It is used
  1182. in both the workstation and server based systems. Software support for
  1183. VMS, Ultrix, and OSF/1 will be provided for the applicable systems
  1184. under thos three architectures. For specific product information
  1185. contact your local DEC sales person.
  1186.  
  1187. Use of the TURBOchannel does not require any license or fees. It is
  1188. free to both option and system vendors alike. The documentation that
  1189. is provided on-line is available for public use and may be copied, in
  1190. its entirety, and distributed freely.
  1191.  
  1192.  
  1193. Overview information:  There is a postscript presentation available on line at
  1194.  
  1195.         gatekeeper:pub/DEC/TriAdd/TURBO.ps
  1196.                      /TURBO.ps.Z    (compressed file)
  1197.  
  1198.  
  1199.         The script for the presentation is a postscript file
  1200.  
  1201.         gatekeeper:pub/DEC/TriAdd/TURBO_README.ps
  1202.                      /TURBO_README.ps   (compressed file)
  1203.  
  1204.  
  1205. TURBOchannel Specifications:    Are available on-line in postscript format for
  1206.                 anonymous ftp at
  1207.  
  1208.         gatekeeper:pub/DEC/TriAdd/turbo_hw_spec.ps   (hardware spec)
  1209.                      /turbo_hw_spec.ps.Z (compressed file)
  1210.  
  1211.         gatekeeper:pub/DEC/TriAdd/turbo_fw_spec.ps   (firmware spec)
  1212.                      /turbo_fw_spec.ps.Z (compressed file)
  1213.  
  1214.         gatekeeper:pub/DEC/TriAdd/turbo_sys_params.ps (system params)
  1215.                      /turbo_sys_params.ps.Z (compressed)
  1216.  
  1217.         gatekeeper:pub/DEC/TriAdd/tci_spec05c.ps     (ASIC spec)
  1218.                      /tci_spec05c.ps.Z   (compressed file)
  1219.  
  1220. TURBOchannel Industry Group:  The TURBOchannel protocol specifications belong
  1221.                   to an open industry group. The TcIG information
  1222.                   and meeting minutes can be found in the file
  1223.  
  1224.         gatekeeper:pub/DEC/TriAdd/tcigmeeting.ps     (meeting minutes)
  1225.                      /tcigmeeting.ps.Z   (compressed file)
  1226.  
  1227. TURBOchannel Support:    Technical support for TURBOchannel Option and System
  1228.             developers is available through Digital's TRI/ADD
  1229.             Program. Membership in Digital's TRI/ADD Program is
  1230.             free of charge. For more information contact
  1231.  
  1232. Digital's TRI/ADD Program    1.800.678.OPEN     Canada & US
  1233. 529 Bryant Ave. PAG-2        1.415.617.3452       Outside North America
  1234. Palo Alto, CA 94301-1616    1.415.853.0155       FAX
  1235.                 triadd@decwrl.dec.com
  1236.                     [AJ Casamento, ajc@pa.dec.com]
  1237. ==============================================
  1238. H4. What third-party hardware can I get for the TURBOchannel? **NEW**
  1239.  
  1240. There is a postscript version of the TRI/ADD Shippable Products
  1241. Catalog available for anonymous FTP at
  1242.  
  1243.         gatekeeper:pub/DEC/TriAdd/TAcatalog.ps
  1244.                      /TAcatalog.ps.Z   (compressed file)
  1245.  
  1246.         for Asian countries, the file is
  1247.  
  1248.         gatekeeper:pub/DEC/TriAdd/TA+catalog.ps
  1249.                      /TA+catalog.ps.Z  (compressed file)
  1250.  
  1251.  
  1252. The catalog contains more than just TURBOchannel based products, but
  1253. the TURBOchannel products have a special logo next to them which makes
  1254. them easy to identify.  An overview list (without product details) of
  1255. the catalog is the postscript file
  1256.  
  1257.         gatekeeper:pub/DEC/TriAdd/shortTAcatalog.ps
  1258.                      /shortTAcatalog.ps.Z (compressed file)
  1259.  
  1260.             or the text file
  1261.  
  1262.         gatekeeper:pub/DEC/TriAdd/shortTAcatalog.txt
  1263.                      /shortTAcatalog.txt.Z (compressed)
  1264.  
  1265.                         [AJ Casamento, ajc@pa.dec.com]
  1266.  
  1267. ==============================================
  1268. H5. Can I mix 8-Megabyte and 32-Megabyte boards in the DECstation 5000/xxx
  1269.     family?
  1270.  
  1271. All DS5000 series machines set the memory stride from the first memory
  1272. array module (this is true of the Personal DECstation and the
  1273. DS5000/1xx series and not just the DS5000/2xx machines). The only
  1274. supported configurations are those in which all of the memory array
  1275. modules are of the same capacity.
  1276.  
  1277. Memory array module types are:
  1278.  
  1279.         MS01-AA   1Mbit DRAM    DS2100,DS3100,PDS5000/20,PDS5000/25,DS5000/120,
  1280.                                 DS5000/125,DS5000/133
  1281.         MS01-CA   4Mbit DRAM    PDS5000/20,PDS5000/25,DS5000/120,DS5000/125,
  1282.                                 DS5000/133
  1283.         MS02-AA   1Mbit DRAM    DS5000/200,DS5000/240
  1284.         MS02-CA   4Mbit DRAM    DS5000/200,DS5000/240
  1285.  
  1286. However, you can place one memory array module of a smaller capacity
  1287. at the end of a series of higher capacity modules.
  1288.  
  1289.                 Slot            Module
  1290.  
  1291.                  0              MS02-CA
  1292.                  1              MS02-CA
  1293.                  2              MS02-AA
  1294.  
  1295. This configuration will work, and be properly recognized by Ultrix,
  1296. but it is not "supported." The console will see all of the memory
  1297. modules. The operating system will be expecting memory in 32MB
  1298. segments and when it hits slot 2 it will simply believe that there are
  1299. 24MB of failed memory on that module.
  1300.  
  1301. It will not be possible to support higher memory congigurations in the
  1302. DS5000 series machines with 16Mbit DRAM cards. The issue is that both the
  1303. physical memory address and the I/O address are provided by the same Kseg0
  1304. block (512MB) in the R3000. This will not change with the advent of the R4000
  1305. daughter cards, as it would require modification of the memory controller ASIC
  1306. (the MT chip) as well.
  1307.  
  1308.  
  1309. ==============================================
  1310. H6. How can I find out which type of DECstation 5000 I have?
  1311.  
  1312. If /etc/sizer -c returns:
  1313. DS5000                 then it's a 5000/200.
  1314. DS5000_100             then it's a 5000/1xx (where xx={20,25,33})
  1315. DS5000_300             then it's a 5000/240.
  1316. DSPERSONAL_DECSTATION  then it's a 5000/xx.
  1317.  
  1318. For something more specific on the 5000/1xx and 5000/xx, you need to
  1319. look at the messages printed out at last boot time (available in the
  1320. error log; use /etc/uerf -R -r 300).
  1321.  
  1322. ******************** Miscellaneous ***************************************
  1323.  
  1324. ==============================================
  1325. M1. What is the floating-point number representation on ULTRIX?
  1326.  
  1327. The floating point format differs depending on which architecture the
  1328. ULTRIX software is running on.
  1329.  
  1330. Digital's RISC machines all use IEEE floating point representation
  1331. with a little-endian byte ordering.  You can easily convert between
  1332. little and big endian ordering by reversing bytes within the floating
  1333. point number.
  1334.  
  1335. The VAX line uses a unique (although, given the popularity of VAXen)
  1336. quite well known floating point format.
  1337.  
  1338. The ULTRIX C libraries include routines which will translate between
  1339. RISC (IEEE) and VAX floating point formats.  Look under "ftoi" in
  1340. either the online or hardcopy documentation.
  1341.  
  1342. ==============================================
  1343. M2. If the console is a graphics device, can it be used as a terminal for
  1344.     full-screen applications?
  1345.  
  1346. The console emulates a dumb terminal, with no ability to address the screen.
  1347. To run anything like a screen editor, you must start the window system.
  1348.  
  1349. ==============================================
  1350. M3. How do I read a tar image from a TK50 tape if my only TK50 is on a VMS
  1351.     machine?
  1352.  
  1353. On VMS (assuming your tape drive on VMS is MUA0:) :
  1354.  
  1355.     mount/foreign/block=10240/record=10240 mua0:
  1356.     copy mua0: file.tar
  1357.  
  1358. On Ultrix:
  1359.  
  1360.     dcp -i 'vms::where$logical:file.tar' file.tar
  1361.  
  1362. ==============================================
  1363. M4. Where can I get free source code for interesting programs on ULTRIX?
  1364.  
  1365. The main FTP server for DEC is gatekeeper.dec.com, which maintains a
  1366. large selection of sources from the net in general, as well as public
  1367. code for ULTRIX, such as "monitor", "top" and other system-specific
  1368. tools.  ~ftp/pub/DEC has sources for several packages written by
  1369. employees at Digital (though they are not supported Digital products),
  1370. as well as some programs that required special changes to port to
  1371. ULTRIX.  More or less up to date copies the pub/DEC directory are also
  1372. available on crl.dec.com and decuac.dec.com. None of these sources or
  1373. utilities are "supported" by anyone other than their authors.
  1374.  
  1375. ==============================================
  1376. M5. Where can I get technical information on the DECstation family of machines?
  1377.  
  1378. Technical information on the DS3100, DS5000/200, and TurboChannel are
  1379. available in gatekeeper.dec.com:/pub/DEC/specs:
  1380.  
  1381. -r--r--r--  1 root     system     184329 Nov 19  1990 DS3100.ps.Z
  1382. -r--r--r--  1 root     system      77017 Nov 19  1990 DS5000_200.ps.Z
  1383. -r--r--r--  1 root     system       1336 Nov  6 17:36 README
  1384. -r--r--r--  1 root     system      24758 Nov 19  1990 tc_cfb.ps.Z
  1385. -r--r--r--  1 root     system      77051 Nov 19  1990 tc_ether.ps.Z
  1386. -r--r--r--  1 root     system      29304 Nov 19  1990 tc_scsi.ps.Z
  1387.  
  1388. Technical information on the new Personal DECstations 5000/20 and /25,
  1389. the DECstation 5000/133 and DECstation 5000/240 are available on the
  1390. net.  Included are the Technical Overviews and Info Sheets for the
  1391. products.
  1392.  
  1393. The files are on gatekeeper.dec.com:/pub/DEC/specs1.
  1394.  
  1395. -r--r--r--  1 root     system     159698 Dec 13 12:35 3maxp_info.ps.Z
  1396. -r--r--r--  1 root     system     336073 Dec 13 12:35 3maxp_teov.ps.Z
  1397. -r--r--r--  1 root     system     249185 Dec 13 12:35 3min_info.ps.Z
  1398. -r--r--r--  1 root     system     134107 Dec 13 12:35 maxine_info.ps.Z
  1399. -r--r--r--  1 root     system     311201 Dec 13 12:35 maxine_teov.ps.Z
  1400.  
  1401. "3maxp" ("3Max+") refers to the DS5000/240; "maxine" refers to the
  1402. Personal DECstations.
  1403.  
  1404. ==============================================
  1405. M6. Where can I get performance information about DECstations?
  1406.  
  1407. Performance information on some of Digital's systems is
  1408. available in gatekeeper.dec.com:/pub/DEC/performance:
  1409.  
  1410. DECSTATION_FAMILY_PERF_SUMMARY_APR_92.PS
  1411. decstation_family_perf_summary_apr_92.ps.Z
  1412.  
  1413.     Results of several well-known benchmarks for the DECstation 5000
  1414.     family
  1415.  
  1416. DECSYSTEM_FAMILY_PERF_SUMMARY_MAY_92.PS
  1417. decsystem_family_perf_summary_may_92.ps.Z
  1418.  
  1419.     Results of several well-known benchmarks for the DECsystem
  1420.     family
  1421.  
  1422. VAXSTATION_FAMILY_PERF_SUMMARY_MAR_92.PS
  1423. vaxstation_family_perf_summary_mar_92.ps.Z
  1424.  
  1425.     Results of 8 well-known benchmarks for the VAXstation 4000
  1426.     family
  1427.  
  1428. DS5100_TPCA_INFORMIX_MAR92.PS
  1429. ds5100_tpca_informix_mar92.ps.Z
  1430.  
  1431.     TPC Benchmark A for INFORMIX running on a DECsystem 5100
  1432.  
  1433. DS5500_TPCA_INFORMIX_MAR92.PS
  1434. ds5500_tpca_informix_mar92.ps.Z
  1435.  
  1436.     TPC Benchmark A for INFORMIX running on a DECsystem 5500
  1437.  
  1438. DS5100_TPCB_INFORMIX_DEC3.PS
  1439. ds5100_tpcb_informix_dec3.ps.Z
  1440.  
  1441.     TPC Benchmark B for INFORMIX running on a DECsystem 5100
  1442.  
  1443. DS5500_TPCB_INFORMIX_DEC3.PS
  1444. ds5500_tpcb_informix_dec3.ps.Z
  1445.  
  1446.     TPC Benchmark B for INFORMIX running on a DECsystem 5500
  1447.  
  1448. DS5000_25_TPCB_INFORMIX_APR92.PS
  1449. ds5000_25_tpcb_informix_apr92.ps.Z
  1450.  
  1451.     TPC Benchmark B for INFORMIX running on a DECsystem 5000 model 25
  1452.  
  1453. DS5000_240_TPCA_SYBASE_AUG92.PS
  1454. ds5000_240_tpca_sybase_aug92.ps.Z
  1455.  
  1456.     TPC Benchmark A for SYBASE running on a DECsystem 5000 model 240
  1457.  
  1458.  
  1459. ==============================================
  1460. M7. Why can't I submit a bug report by electronic mail?
  1461.  
  1462. At this time, Digital does not accept bug reports by electronic mail.  We
  1463. hope that this unfortunate situation may change in the future.  Please file
  1464. a Software Performance Report (SPR) instead.
  1465.  
  1466.  
  1467. ==============================================
  1468. M8. How do I send mail to Digital employees?
  1469.  
  1470. If you have Internet ftp capability, grab gatekeeper.dec.com:~ftp/gateway.doc,
  1471. which contains every bit of relevant lore we've ever collected on this topic.
  1472. If you must get by with what little information we have room for here in the
  1473. FAQ, well, read on.
  1474.  
  1475. The easiest way to find out how to get mail to a Digit is to have them
  1476. send mail to you.  If you get their mail, look at the headers (check
  1477. the "From:" line, in particular) and try sending mail to the address
  1478. as it appears to you.  (If your Digit doesn't know how to send you
  1479. mail, have them grab gateway.doc (it's DECWRL::"/gateway.doc" from the
  1480. inside) and read it carefully.
  1481.  
  1482. If you need to send mail to someone ``from scratch'', you will need to get
  1483. them to tell you their address.  If they say something like ``JOVE::VIXIE''
  1484. then the right way to reach them is one of:
  1485.  
  1486.     vixie@jove.enet.dec.com
  1487.     vixie%jove.enet@relay.dec.com
  1488.     ...!uunet!decwrl!jove.enet!vixie
  1489.  
  1490. If on the other hand they say something like ``I'm PAUL VIXIE @WRL,'' then
  1491. you can try one of these:
  1492.  
  1493.     vixie@wrl.mts.dec.com
  1494.     vixie%wrl.mts@relay.dec.com
  1495.     ...!uunet!decwrl!wrl.mts!vixie
  1496.  
  1497. In the best of all possible worlds they will say something like ``My address
  1498. is <vixie@pa.dec.com>'' in which case you should send to one of:
  1499.  
  1500.     vixie@pa.dec.com
  1501.     vixie%pa.dec.com@relay.dec.com
  1502.     ...!uunet!decwrl!pa.dec.com!vixie
  1503.  
  1504. If you try most or all of the above suggestions and can not figure out what
  1505. you're doing wrong, send mail to our gateway postmaster, which is one of:
  1506.  
  1507.     postmaster@dec.com
  1508.     postmaster@decwrl.dec.com
  1509.     ...!uunet!decwrl!postmaster
  1510.  
  1511. ==============================================
  1512. M9. How do I get a list of available patches for my release of Ultrix?
  1513.  
  1514. At this time, Digital does not publish lists of available patches.
  1515. The Customer Support Centers will inform you if you call about a
  1516. problem for which there is a patch.
  1517.  
  1518. ==============================================
  1519. M10. How can I get files available by anonymous FTP if I'm not connected
  1520.     to the Internet?
  1521.  
  1522. One way is to use the DECWRL ftpmail server.  To find out how to use
  1523. it, send a one-line message to ftpmail@pa.dec.com (or
  1524. ...!uunet!decwrl!ftpmail or decwrl::ftpmail).  The subject line can be
  1525. anything you want since it will be ignored.  The text of the message
  1526. should be one unquoted lowercase word: "help".
  1527.  
  1528. ==============================================
  1529. M11. How can I write documentation in Bookreader format? **NEW**
  1530.  
  1531. On ULTRIX, VMS, SunOS, and Windows, DECwrite will produce Bookreader
  1532. files.  On VMS, VAX Document will also produce Bookreader files.
  1533. Digital will provide information about the format of Bookreader format
  1534. files upon request, although it is apparently difficult to work with
  1535. (most have concluded that it's not worth the trouble).  If you're
  1536. interested in getting the format, send mail to the FAQ Editor, Win
  1537. Treese (treese@crl.dec.com), and he'll see about getting the
  1538. information.
  1539.             [Patrick Stephens, stephens@galvia.enet.dec.com]
  1540.             [Win Treese, treese@crl.dec.com]
  1541.  
  1542. ==============================================
  1543. M12. Why does ULTRIX restrict the number of users on the system? **NEW**
  1544.  
  1545. AT&T requires Digital to pay royalties on UNIX based on the number of
  1546. users of a system.  Other vendors may have different arrangements with AT&T,
  1547. or may choose other methods to comply with the terms.
  1548.                 [Win Treese, treese@lcs.mit.edu]
  1549.  
  1550. ==============================================
  1551. M13. Where else can I discuss ULTRIX with other users? **NEW**
  1552.  
  1553. The decstation-managers mailing list is a rapid-turnaround vehicle for
  1554. Ultrix (and maybe OSF/1 someday) administrators to reach a pool of
  1555. people with similar expertise who might be able to help them resolve a
  1556. problem they're having.  There's no discussion on the list--just
  1557. questions and summaries of responses to those questions.
  1558.  
  1559. To join the list, send a request to decstation-managers-request@ornl.gov.
  1560.  
  1561.                         [Dave Sill, de5@ornl.gov]
  1562.  
  1563. ==============================================
  1564. M14. Where can I get on-line copies of the DEC Software Product Descriptions
  1565.     (SPD)? **NEW*
  1566.  
  1567. Most SPDs can be found on gatekeeper.dec.com:/pub/DEC/DECinfo/SPD.  They
  1568. are numbered in the usual way; check the file "index" if you aren't sure
  1569. of the number.  Note that there are over 800, so 'ls' will get you a
  1570. long listing!
  1571.  
  1572.